package com.group4.DAO;

public class UserDAO {
	private int ID;
	private String name;
	private String surname;
	private String username;
	private String password;
	private String email;
	private int enabledUser;
	
	public int getEnabledUser() {
		return enabledUser;
	}

	public void setEnabledUser(int enabledUser) {
		this.enabledUser = enabledUser;
	}

	public String getActivationKey() {
		return activationKey;
	}

	public void setActivationKey(String activationKey) {
		this.activationKey = activationKey;
	}

	private String activationKey;
	
	public UserDAO() {
		super();
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();

		sb.append("User [ID:").append(ID);
		sb.append("; name:").append(name);
		sb.append("; surname:").append(surname);
		sb.append("; username:").append(username);
		sb.append("; password:").append(password);
		sb.append("; email:").append(email);
		sb.append("]");

		return sb.toString();
	}
}
